/* Search
============================================ */
#searchform {float: left}

#searchform .othercliksc {position: relative}

#formsearch {
  position: absolute;
  width: 200px;
  top: 4px;
}

#ajax-search-form {
  position: relative;
  font: normal normal 13px Arial, Sans-Serif;
}

#ajax-search-form a {
  color: #741F27;
  text-decoration: none;
}

#ajax-search-form input {
  font: normal normal 12px/100% Arial, Sans-Serif;
  background-color: #444 !important;
  color: #aaa;
  text-align: left;
  -webkit-box-shadow: inset 0 0 2px #333;
  -moz-box-shadow: inset 0 0 2px #333;
  box-shadow: inset 0 0 2px #333;
  border: 1px solid #444;
  border-color: #222 #444 #444 #222;
  padding: 1px 2px;
  width: 100%;
}

#ajax-search-form input[type=" submit" ] {
  width: auto;
  background-color: #680202;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 9px;
}

#ajax-search-form input[type=" submit" ]:hover, #ajax-search-form input[type=" submit" ]:focus {background-color: #460000}

#search-result {
  background-color: #333;
  padding: 5px 2px;
  margin: 2px 0;
  width: 270px;
  overflow: auto;
  max-height: 710px;
  position: absolute;
  right: 0;
  top: 28px;
  z-index: 99;
  color: white;
  border-radius: 0 0 3px 3px;
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.3);
  display: none;
}

#search-result * {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}

#search-result h4 {
  display: block;
  margin: 0 30px 10px 5px;
  color: white;
}

#search-result ul {
  margin: 0;
  overflow: hidden;
  max-height: 405px;
}

#search-result ul:hover {overflow: auto}

#search-result li {height: 68px}

#search-result ul a:hover {text-decoration: underline}

#search-result ul::-webkit-scrollbar-thumb {
  overflow: visible;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border: solid 1px #A04949;
  background-color: #A50D0D;
}

#search-result ul::-webkit-scrollbar {
  width: 10px;
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(202, 202, 202, 0.07)), color-stop(100%, rgba(229, 229, 229, 0.07)));
  background: -webkit-linear-gradient(left, rgba(202, 202, 202, 0.07) 0%, rgba(229, 229, 229, 0.07) 100%);
  -webkit-box-shadow: 0 0 1px 0 rgba(0, 0, 0, .15) inset, 0 1px 0 0 #050505;
  -moz-box-shadow: 0 0 1px 0 rgba(0, 0, 0, .15) inset, 0 1px 0 0 #050505;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, .15) inset, 0 1px 0 0 #050505;
  background-color: #310000;
}

#rcomments .notirc {
  position: absolute;
  border: 0;
  background: transparent;
  width: 15px;
  height: 20px;
  overflow: hidden;
  top: -8px;
  right: -5px;
}

#search-result .close {
  display: block;
  position: absolute;
  top: 2px;
  font-size: 20px;
  right: 10px;
  line-height: normal;
  color: white;
}

#search-result span {
  width: 50px;
  height: 50px;
  display: block;
  float: left;
  padding: 2px;
  margin-right: 5px;
  margin-top: 5px;
  background-color: white;
}

#search-result img {
  width: 100%;
  height: 100%;
  display: block;
}

#search-result h5 {
  color: #aaa;
  overflow: hidden;
  font-size: 90%;
  margin-top: 2px;
  height: 16px;
}
#search-result h5:hover {
  color: #fff;
}
#search-result p {
  font-size: 10px;
  color: #999;
}

#search-result mark {
  color: #fff;
  background: blue;
  padding: 0 3px;
}
